package test_01;

import java.util.Arrays;
import java.util.Collections;

public class Test01 {
	public static void main(String[] args) {
		Integer[] a={123,45,67,32,6,234,541,897,96,69};
		Arrays.sort(a);
		for (int i = 0; i < a.length; i++) {
			System.out.print(a[i]+" ");
		}
		
		System.out.println("\n");
		
		Arrays.sort(a, Collections.reverseOrder());
		for (int i : a) {
			System.out.print(i+" ");
		}
		
		System.out.println("\n");
		
		for (int i = 1; i <=9; i++) {
			for (int j = 1; j <=i; j++) {
				System.out.print(j+"*"+i+"="+i*j+"\t");
			}
			System.out.println("\n");
		}
		
		
		
	}
	
	
	

}
